package com.icetech.eom.domain.tx.dto;

import com.xuxueli.poi.excel.annotation.ExcelField;
import com.xuxueli.poi.excel.annotation.ExcelSheet;
import lombok.Data;
import org.apache.poi.hssf.util.HSSFColor;

import java.util.Date;

/**
 * 会话导出列表
 * @author wangzw
 */
@Data
@ExcelSheet(name = "会话列表", headColor = HSSFColor.HSSFColorPredefined.LIGHT_GREEN)
public class SessionExcelDto {


    @ExcelField(name = "用户名称")
    private String userName;

    @ExcelField(name = "设备唯一编号")
    private String guid;

    @ExcelField(name = "连接开始时间")
    private Date beginTime;

    @ExcelField(name = "连接截止时间")
    private Date endTime;

    @ExcelField(name = "会话连接成功")
    private Integer success;

    @ExcelField(name = "打洞类型")
    private Integer type;

    @ExcelField(name = "C端IP")
    private String clientIp;

    @ExcelField(name = "设备端IP")
    private String devIp;

    @ExcelField(name = "C端唯一标示")
    private String clientGuid;

    @ExcelField(name = "会话ID")
    private Long clientSessionId;

    @ExcelField(name = "会话结束时间")
    private Date sessionEndTime;
}
